package com.video.system.mapper;

import java.util.List;
import com.video.system.domain.VideoEducation;

/**
 * 学历Mapper接口
 * 
 * @author lyh
 * @date 2021-07-31
 */
public interface VideoEducationMapper 
{

    /**
     * 查询学历编码和名称
     * @return
     */
    public List<VideoEducation> selectCodeAndNameList();

    /**
     * 查询学历
     * 
     * @param educationId 学历ID
     * @return 学历
     */
    public VideoEducation selectVideoEducationById(Integer educationId);

    /**
     * 查询学历列表
     * 
     * @param videoEducation 学历
     * @return 学历集合
     */
    public List<VideoEducation> selectVideoEducationList(VideoEducation videoEducation);

    /**
     * 新增学历
     * 
     * @param videoEducation 学历
     * @return 结果
     */
    public int insertVideoEducation(VideoEducation videoEducation);

    /**
     * 修改学历
     * 
     * @param videoEducation 学历
     * @return 结果
     */
    public int updateVideoEducation(VideoEducation videoEducation);

    /**
     * 删除学历
     * 
     * @param educationId 学历ID
     * @return 结果
     */
    public int deleteVideoEducationById(Integer educationId);

    /**
     * 批量删除学历
     * 
     * @param educationIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteVideoEducationByIds(Integer[] educationIds);
}
